<div class="box">
  <div class="box-content">
	  <form method="post">
      <table class="table table-striped table-hover">
      <thead>
      <tr>
        <th width="30">ID</th>
        <th>Thông tin</th>
        <th width="100">Chỉnh sửa</th>
      </tr>
      </thead>
      <tbody>
      {foreach from=$aCategory item=category}
      <tr>
        <td>{$category.cat_id}</td>
        <td>
					{$category.cat_title}
				</td>
        <td align="center" nowrap="nowrap">
          <a href="{'category/edit/%d'|l:$category.cat_id}">Sửa</a> - 
          <a class="confirm" href="{'category/delete/%d'|l:$category.cat_id}">Xóa</a>
				</td>
      </tr>
      {foreachelse}
      <tr>
        <td colspan="3" align="center">(Hiện chưa có danh mục nào.)</td>
      </tr>
      {/foreach}
      </tbody>
      </table>
      </form>
  </div>
</div>